Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display Lifecycle State on Service details screen #5736

Merged
merged 1 commit into from
Jun 24, 2019

Conversation

h-kataria
Copy link
Contributor

@h-kataria h-kataria force-pushed the add_service_state branch from c1d376e to a3ee0a6 Compare June 21, 2019 15:43
@miq-bot
Copy link
Member

miq-bot commented Jun 21, 2019

Checked commit h-kataria@a3ee0a6 with ruby 2.3.3, rubocop 0.69.0, haml-lint 0.20.0, and yamllint 1.10.0
2 files checked, 1 offense detected

spec/helpers/service_helper/textual_summary_spec.rb

@himdel himdel added this to the Sprint 114 Ending Jun 24, 2019 milestone Jun 24, 2019
@himdel himdel merged commit d9664f8 into ManageIQ:master Jun 24, 2019
@@ -142,6 +142,10 @@ def textual_retirement_state
{:label => _("Retirement State"), :value => @record.retirement_state.to_s.capitalize}
end

def textual_lifecycle_state
{:label => _("State"), :value => @record.lifecycle_state ? @record.lifecycle_state.humanize.capitalize : _("None")}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, sorry, just noticed this is missing i18n..

Was that intentional? If not, I guess we should have a..

{
  Service::STATE_ERROR_PROVISIONING => _("Error in provisioning"),
  Service::STATE_PROVISIONED => _("Provisioned"),
  Service::STATE_PROVISIONING => _("Provisioning"),
}

hash somewhere...

@h-kataria h-kataria deleted the add_service_state branch July 29, 2019 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants